package tech.yixiyun.framework.kuafu.component;

/**
 * 系统启动时对类进行组件注册时发生的异常
 */
public class ComponentResolveException extends RuntimeException {

    public ComponentResolveException(String msg) {
        super(msg);
    }

    public ComponentResolveException(String msg, Throwable cause) {
        super(msg, cause.getCause() == null ? cause : cause.getCause());
    }

    public ComponentResolveException(Throwable cause) {
        super(cause.getCause() == null ? cause : cause.getCause());
    }


}
